// Copyright 2021 The Lynx Authors. All rights reserved.
// Licensed under the Apache License Version 2.0 that can be found in the
// LICENSE file in the root directory of this source tree.

#import <Foundation/Foundation.h>
#import <XElement/LynxInputType.h>

NS_ASSUME_NONNULL_BEGIN

@protocol LynxKeyListener <NSObject>

@required
- (NSInteger)getInputType;
@required
- (NSString*)filter:(NSString*)source start:(NSInteger)start end:(NSInteger)end dest:(NSString*)dest dstart:(NSInteger)dstart dend:(NSInteger)dend;

@end

NS_ASSUME_NONNULL_END
